VDGetInputFormat
TheVDGetInputFormat
function allows applications to determine the format of the video signal provided by a specified video input source.
pascal VideoDigitizerError VDGetInputFormat (VideoDigitizerComponent ci, short input, short *format);
ci
- Specifies the video digitizer component for the request. Applications obtain this reference from the Component Manager's
OpenComponent
function.input
- Specifies the input video source for this request. Video digitizer components number video sources sequentially, starting at 0. So, to request information about the first video source, an application sets this parameter to 0. Applications can get the number of video sources supported by a video digitizer component by calling the
VDGetNumberOfInputs
function, discussed on page 8-31.format
- Contains a pointer to a short integer that is to receive the specification of the video format of the specified input source. This function updates the field referred to by the
format
parameter. Valid values arecompositeIn
- The input video signal is in composite format
sVideoIn
- The input video signal is in s-video format
rgbComponentIn
- The input video signal is in RGB component format
DESCRIPTION
Video digitizer components support three video formats: composite video, s-video, and component video (RGB signal).All video digitizer components must support this function.
RESULT CODES
noErr 0 No error qtParamErr -2202 Invalid parameter value
Main | Top of Section | What's New | Apple Computer, Inc. | Find It | Feedback | Help